package com.neusoft.sysdata.mapper;

import java.util.List;

import com.neusoft.sysdata.entity.MdCompany;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Description: MD_COMPANY
 * @Author: jeecg-boot
 * @Date:   2019-12-09
 * @Version: V1.0
 */
public interface MdCompanyMapper extends BaseMapper<MdCompany> {
    @Select("SELECT * FROM MD_COMPANY WHERE STATUS=0 AND PARENT_COMPANY = #{code,jdbcType=VARCHAR}")
    public List<MdCompany> selectCompanyInfo(String code);
}
